<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="refresh" content="2;url=../views/admin/user/login.jsp">
<title>酒店后台管理系统</title>
</head>
<body>
</body>
<script>
	  if(<%=request.getSession().getAttribute("type")%> != 1){
		  alert("你不是管理员");
      }else{
    	  alert("发生未知失败，请重新尝试");
      }
</script>
</html>